package cn.befory.pojo;

import java.io.Serializable;

/**
 * 用户权限
 * @author befory
 * @since 2019-10-7
 */
public class UserPerm implements Serializable {
    private static final long serialVersionUID = -4337301004979326641L;

    private Long id;
    /**
     * 用户id
     */
    private Long userId;
    /**
     * 权限id
     */
    private Long permId;

    /**
     * 创建时间
     */
    private Long ct;
    /**
     * 排序
     */
    private Integer sort;

    public Long getId() {
        return id;
    }

    public UserPerm setId(Long id) {
        this.id = id;
        return this;
    }

    public Long getUserId() {
        return userId;
    }

    public UserPerm setUserId(Long userId) {
        this.userId = userId;
        return this;
    }

    public Long getPermId() {
        return permId;
    }

    public UserPerm setPermId(Long permId) {
        this.permId = permId;
        return this;
    }

    public Long getCt() {
        return ct;
    }

    public UserPerm setCt(Long ct) {
        this.ct = ct;
        return this;
    }

    public Integer getSort() {
        return sort;
    }

    public UserPerm setSort(Integer sort) {
        this.sort = sort;
        return this;
    }
}
